<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <link rel="stylesheet" href="__PUBLIC__/Css/public.css">
    <link rel="stylesheet" href="__PUBLIC__/Css/public.css" />
    <title>Title</title>
</head>
<body>
<form action="{:U('admin/rbac/addnode_post')}" method="post">
<table class="table">
    <tr>
        <th colspan="2">
            <switch name="level">
            <case value="0">添加应用</case>
            <case value="1">添加控制器</case>
            <case value="2">添加动作</case>
            </switch>
            </th>
    </tr>
    <tr>
        <td>名称</td>
        <td><input type="text" name="name"></td>
    </tr>
    <tr>
        <td>描述</td>
        <td><input type="text" name="title"></td>
    </tr>
    <tr>
        <td>状态</td>
        <td>
            <input type="radio" name="status" value="1" checked="checked">开启
            <input type="radio" name="status" value="0" >关闭
        </td>
    </tr>
    <input type="text" name="sort"  hidden="hidden" value="">
    <input type="text" name="pid" hidden="hidden" value="{$pid}">
    <input type="text" name="level" value="{$level}" hidden="hidden">

    <tr>
        <td colspan="2">
            <input  type="submit" value="提交">
        </td>
    </tr>

</table>
</form>
</body>
</html>